package com.foreknow.demo1;

public class AImpl implements A {
    @Override
    public int m1() {
        return 10;
    }

    @Override
    public String m2() {
        return "abc";
    }

    public static void main(String[] args) {
        A a = new AImpl();
        int aa = a.m1();
        String ss = a.m2();
        System.out.println(aa+"---"+ ss);
    }
}
